package yhao.demo.service.login.apilist.restful;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import yhao.demo.service.login.apilist.model.LoginPersonModel;
import yhao.infra.apilist.RequestResult;
import yhao.infra.apilist.validate.LoginForm;

/**
 * Created by yoara on 2019/1/15
 */
@FeignClient(ZoneConstants.FEIGN_URL)
public interface LoginFeign {
    @RequestMapping(value = "/login/authenticatePerson",method = RequestMethod.POST)
    RequestResult<LoginPersonModel> authenticatePerson(LoginForm form);
}
